<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+request.getContextPath()+"/";
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>简历列表</title>
<link href="css/manageadmin.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div class="place"> <span>位置：</span>
  <ul class="placeul">
    <li><a href="manage/index.html">首页</a></li>
    <li>简历列表</li>
  </ul>
</div>
<div class="rightinfo">
  <div class="tools">
    <ul class="toolbar">
      <!-- <li><span><img src="images/t03.png" /></span><a href="#">删除</a></li> -->
    </ul>
  </div>
  <table class="imgtable">
    <thead>
      <tr>
        <th ><input name="" type="checkbox" value="" checked="checked"/></th>
        <th>姓名</th>
        <th>手机</th>
        <th>Email</th>
        <th>工作经验</th>
        <th>求职意向</th>
        <th>操作</th>
      </tr>
    </thead>
    <tbody>
     <c:forEach items="${requestScope.pageBean.pageData}" var="resume">
      <tr height="50px">
        <td ><input name="" type="checkbox" value="" /></td>
        <td>${resume.realName}</td>
        <td>${resume.telephone}</td>
        <td>${resume.email}</td>
        <td>${resume.jobExperience}</td>
        <td>${resume.jobIntension}</td>
        <td ><a href="ResumeServlet?type=select&resumeId=${resume.basicinfoId}" class="tablelink">查看</a> &nbsp;&nbsp;
            <!-- <a href="#" class="tablelink"> 删除</a> -->
        </td>
      </tr>
      </c:forEach>
    </tbody>
  </table>
 <div class="pagin">
    <div class="message">共<i class="blue">${requestScope.pageBean.totalPages}</i>页，
    	当前显示第&nbsp;<i class="blue">${requestScope.pageBean.pageNo}&nbsp;</i>页</div>
    <ul class="paginList">
      <li class="paginItem"><a href="ResumeServlet?type=list&pageNo=1">首页</a></li>
      <c:if test="${requestScope.pageBean.hasPreviousPage}">
      <li class="paginItem"><a href="ResumeServlet?type=list&pageNo=${requestScope.pageBean.pageNo-1}">上一页<span class="pagepre"></span></a></li>
      </c:if>
      <c:if test="${requestScope.pageBean.hasNextPage}">
      <li class="paginItem"><a href="ResumeServlet?type=list&pageNo=${requestScope.pageBean.pageNo+1}">下一页<span class="pagenxt"></span></a></li>
      </c:if>
       <li class="paginItem"><a href="ResumeServlet?type=list&pageNo=${requestScope.pageBean.totalPages}">尾页</a></li>
    </ul>
  </div>
</div>
</body>
</html>